#version 300 es
precision mediump float;

uniform sampler2D u_image;
in vec2 v_texCoord;

out vec4 outColor;

void main(){
    vec2 onePixel = vec2(1)/vec2(textureSize(u_image,0));
    outColor = (texture(u_image, v_texCoord)+texture(u_image,v_texCoord+vec2(onePixel.x,0.0)) + texture(u_image,v_texCoord+vec2(-onePixel.x,0.0)))/3.0;
}